<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>外卖订餐系统</title>

  <link href="https://cdn.bootcss.com/materialize/1.0.0-rc.1/css/materialize.min.css" rel="stylesheet">
</head>

<body>

  <nav>
    <div class="nav-wrapper">
      <a href="/pages/user-end/shop_list.html" class="brand-logo"> 商城</a>
      <ul id="nav-mobile" class="right hide-on-med-and-down">
        <li>
          <a href="/">返回登录页</a>
        </li>
      </ul>
    </div>
  </nav>

  <div class="container">
    <h1>外卖订餐系统登录</h1>
    <br/>

    <hr/>

    <div class="row">
      <div class="col s12 m8">
        <div class="card">
          <div class="card-content">
            <span class="card-title">用户登录</span>
            <div class="input-field">
              <input name="username" id="username" type="text">
              <label for="username">用户名</label>
            </div>
            <div class="input-field">
              <input name="userpass" id="userpass" type="password">
              <label for="userpass">密码</label>
            </div>
          </div>
          <div class="card-action">
            <a href="#" id="user_login_btn">点我登录</a>
          </div>
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col s12 m8">
        <div class="card blue-grey darken-1">
          <div class="card-content">
            <span class="card-title white-text">店家登录</span>
            <div class="input-field">
              <input name="shopname" id="shopname" type="text">
              <label for="shopname">店家名</label>
            </div>
            <div class="input-field">
              <input name="shoppass" id="shoppass" type="password">
              <label for="shoppass">密码</label>
            </div>
          </div>
          <div class="card-action">
            <a id="shop_login_btn" href="#">点我登录</a>
          </div>
        </div>
      </div>
    </div>

    <!-- <h3>用户登录</h3>
    <form>
      用户名:
      <input name="username" /> 密码:
      <input name="userpass" />
      <button type="button" id="user_login_btn">用户登录</button>
    </form>

    <br/>
    <hr/>
    <h3>店家登录</h3>
    <form>
      店家名:
      <input name="shopname" /> 密码:
      <input name="shoppass" />
      <button type="button" id="shop_login_btn">店家登陆</button>
    </form> -->
  </div>


  <script src="https://cdn.bootcss.com/materialize/1.0.0-rc.1/js/materialize.min.js"></script>
  <script src="https://cdn.bootcss.com/require.js/2.3.5/require.min.js"></script>
  <script>
    requirejs(['js/common'], common => {
      requirejs(['app/index'])
    })
  </script>

</body>

</html>